package com.idanchuang.component.config.apollo.support;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Set;

/**
 * @author yjy
 * @date 2020/9/8 13:26
 **/
public class DefaultRefreshFailedEvent implements RefreshFailedEvent {

    private static final Logger log = LoggerFactory.getLogger(DefaultRefreshFailedEvent.class);

    @Override
    public void doEvent(Set<String> keys, Throwable e) {
        log.error("Apollo config refresh failed, keys: {}", keys, e);
    }

}
